<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>下拉菜单</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js" ></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css">
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<script type="text/javascript" src="../js/ztree/jquery.ztree.all-3.5.js" ></script>
		<link rel="stylesheet" href="../js/ztree/zTreeStyle.css" />
		<script type="text/javascript">
			$(function(){
				
				$.extend($.fn.validatebox.defaults.rules, { 

					equals: { 
					
					validator: function(value,param){ 
					
					return value == $(param[0]).val(); 
					
					}, 
					
					message: '两次密码不匹配!' 
					
					} 
					
					}); 
					
				/*下拉框*/
				$('#cc').combo({ 

					required:true, 
					
					multiple:true 
					
					}); 


			});
			
		</script>
	</head>
	<body> 
		 <input id="pwd" name="pwd" type="password" class="easyui-validatebox" data-options="required:true" /> 

		<input id="rpwd" name="rpwd" type="password" class="easyui-validatebox" required="required" validType="equals['#pwd']" /> 
		<input type="text" class="easyui-numberbox"  data-options="min:0"></input>
		<input class="easyui-datetimebox" name="birthday" data-options="required:true,showSeconds:false" style="width:150px">
			<input id="cc" value="001">
	</body> 


</html>
